package com.bird.generate.ddd.domain

import com.bird.component.ddd.model.entity.BaseEntity
import com.bird.component.ddd.model.entity.Entity
import com.bird.generate.ddd.domain.vo.Field

/**
 * 值对象实体
 */
class ValueObjectEntity(
    //值对象英文名称(驼峰)
    var enName: String,
    //值对象名称
    var name: String,
    //值对象描述
    var description: String? = null,
    //是否枚举
    var isEnum: Boolean,
    //值对象属性
    var fields: List<Field> = emptyList(),
    //值对象类型
    var type:String = "String"

): BaseEntity(id = null), Entity {
}